﻿using Janus.BaseEntitys;
using System;

namespace Janus.BaseEntitys
{
    /// <summary>
    /// 模块
    /// </summary>
    public partial class ModuleDTO
    {
        /// <summary>
        /// 模块ID
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 模块名称
        /// </summary>
        public string ModuleName { get; set; }
        /// <summary>
        /// 模块标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }
        /// <summary>
        /// 上级
        /// </summary>
        public string Parent { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string GUID { get; set; }
        /// <summary>
        /// 广告格式
        /// </summary>
        public string AdXml { get; set; }
        /// <summary>
        /// 模块类型[模块0,按钮1,选项卡2,功能点3]
        /// </summary>
        public int Types { get; set; }
        /// <summary>
        /// 参数格式
        /// </summary>
        public string ParmFormat { get; set; }
        /// <summary>
        /// 点击事件
        /// </summary>
        public string OnCilck { get; set; }
        /// <summary>
        /// 样式
        /// </summary>
        public string CssClass { get; set; }
        /// <summary>
        /// 点击目标
        /// </summary>
        public string Target { get; set; }
        /// <summary>
        /// NavTab是否外部
        /// </summary>
        public string External { get; set; }

        /// <summary>
        /// NavTab是否可刷新
        /// </summary>
        public string Fresh { get; set; }
        /// <summary>
        /// 警告信息
        /// </summary>
        public string Warn { get; set; }
        /// <summary>
        /// 反转
        /// </summary>
        public bool Reverse { get; set; }
        /// <summary>
        /// Tab默认选择
        /// </summary>
        public Nullable<int> Indexs { get; set; }
        /// <summary>
        /// 回调
        /// </summary>
        public string CallBack { get; set; }
        /// <summary>
        /// 宽度
        /// </summary>
        public int Width { get; set; }
        /// <summary>
        /// 高度
        /// </summary>
        public int Height { get; set; }
        /// <summary>
        /// 最大值
        /// </summary>
        public bool Max { get; set; }
        /// <summary>
        /// 刷新
        /// </summary>
        public Nullable<bool> IsRefresh { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        public Nullable<bool> IsDisable { get; set; }
    }
}
